import assessCheckApi from './api'
import { axios } from '@/utils/request'

// 聘任登记-分页查询
export function queryPageGzdwBgShList(params){
  return axios({
    url: assessCheckApi.queryPageGzdwBgShList,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}

// 查询我的暂存申请
export function queryBgsqInfo(params){
  return axios({
    url: assessCheckApi.queryBgsqInfo,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}

// 查询当前申请信息
export function querySqInfo(params){
  return axios({
    url: assessCheckApi.querySqInfo,
    method:'get',
    params:{...params},
    url_1:'outside',
  })
}

// 保存申请-暂存
export function saveBgsqInGzdw(data){
  return axios({
    url: assessCheckApi.saveBgsqInGzdw,
    method:'post',
    data:data,
    url_1:'outside',
  })
}

// 提交申请
export function submitBgsqInGzdw(data){
  return axios({
    url: assessCheckApi.submitBgsqInGzdw,
    method:'post',
    data:data,
    url_1:'outside',
  })
}

// 提交审核
export function submitShInBgGzdw(data){
  return axios({
    url: assessCheckApi.submitShInBgGzdw,
    method:'post',
    data:data,
    url_1:'outside',
  })
}

// 上传文件-变更文件
export function uploadFile(data){
  return axios({
    url: assessCheckApi.uploadFile,
    method:'post',
    data:data,
    url_1:'outside',
  })
}

